package com.fowo.api.model.amz.advertis.auth.info;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 亚马逊广告授权信息 导入导出辅助模型 */
@Getter
@Setter
public class AmzAdvertisAuthInfoExcelPo {

  @ExcelProperty(value = "每日预算")
  private java.math.BigDecimal dailyBudget;

  @Size(max = 1000, message = "刷新令牌长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "刷新令牌")
  private String refreshToken;
}
